﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace EasyClass {
	public partial class MyConsole : Form {
		static MyConsole c;
		public MyConsole() {
			InitializeComponent();
			c = this;
			Control.CheckForIllegalCrossThreadCalls = false;
		}

		private void MyConsole_Load(object sender, EventArgs e) {

		}

		public static void WriteLine(string s) {
			c.textBox1.AppendText(s + "\r\n");
		}
	}
}
